package com.gmscosmo.janus.email;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * ClassName: EmailConfig
 * Description: 邮件发送配置类
 * Date: 2021/2/24 16:25
 *
 * @author stephen.qiu
 */
@Configuration
@ConfigurationProperties(prefix = "email")
public class EmailConfig {
    private String emailName;
    private String emailPassword;
    private String toEmail;
    private String avEngineTitle;
    private boolean send;

    public String getEmailName() {
        return emailName;
    }

    public void setEmailName(String emailName) {
        this.emailName = emailName;
    }

    public String getEmailPassword() {
        return emailPassword;
    }

    public void setEmailPassword(String emailPassword) {
        this.emailPassword = emailPassword;
    }

    public String getToEmail() {
        return toEmail;
    }

    public void setToEmail(String toEmail) {
        this.toEmail = toEmail;
    }

    public boolean isSend() {
        return send;
    }

    public void setSend(boolean send) {
        this.send = send;
    }

    public String getAvEngineTitle() {
        return avEngineTitle;
    }

    public void setAvEngineTitle(String avEngineTitle) {
        this.avEngineTitle = avEngineTitle;
    }
}
